package com.messe.base.models;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

public class Contract implements java.io.Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -5912455843610948234L;
	private String id;
	private Business business;
	private ContractTemplate template;
	private String code;//合同编号
	private String totalPrice;//总金额
	private String managerName;//客户经理
	private String address;//地址
	private String personName;//联系人名字
	private String countryCodePN;//电话国家号
	private String areaCodePN;//电话地区号
	private String phone;//电话
	private PickList payType;//付款方式
	private PickList status;//状态
	private String url;//合同附件
	private String currency;//货币类型
	private Integer statusId;//0:使用;-1:删除;-2:废弃;
	private Integer auditStatus; 
	private Timestamp createdStamp;//创建时间
	
	private String email;
	private Person creater;
	private String countryCodeFN;
	private String areaCodeFN;
	private String faxNumber;
	private String title;
	private String countryCodeMN;
	private String mobileNum;
	
	private Timestamp firstStamp;//初审时间
	
	private Timestamp finalStamp;//终审时间
	
	private Timestamp generationStamp;//生成时间(回传时间)
	
	private Timestamp cancelStamp;//取消时间
	
	private String filterFirstAudit;
	private String filterFinalAudit;
	private String companyName;//审核通过时的公司名
	private String companyNameEN;//审核通过公司名英文
	
	private String brand;
	private String brandCountry;
	private String businessBG;
	
	private Set<ContractAppendix> contractAppendixes = new HashSet<ContractAppendix>(0);
	private Set<OrganizationProductServiceRel> organizationProductServiceRels = new HashSet<OrganizationProductServiceRel>(0);
	private Set<OrganizationPayment> organizationPayments = new HashSet<OrganizationPayment>(0);
	private Set<ContractFile> contractFiles = new HashSet<ContractFile>(0);
	
	private Set<ContractHistory> contractHistory = new HashSet<ContractHistory>(0);
	private Set<ContractRecord> contractRecords = new HashSet<ContractRecord>(0);
	public Set<ContractRecord> getContractRecords() {
		return contractRecords;
	}
	public void setContractRecords(Set<ContractRecord> contractRecords) {
		this.contractRecords = contractRecords;
	}
	public Set<ContractFile> getContractFiles() {
		return contractFiles;
	}
	public void setContractFiles(Set<ContractFile> contractFiles) {
		this.contractFiles = contractFiles;
	}
	public Set<OrganizationPayment> getOrganizationPayments() {
		return organizationPayments;
	}
	public void setOrganizationPayments(Set<OrganizationPayment> organizationPayments) {
		this.organizationPayments = organizationPayments;
	}
	public Set<ContractAppendix> getContractAppendixes() {
		return contractAppendixes;
	}
	public void setContractAppendixes(Set<ContractAppendix> contractAppendixes) {
		this.contractAppendixes = contractAppendixes;
	}
	public Set<OrganizationProductServiceRel> getOrganizationProductServiceRels() {
		return organizationProductServiceRels;
	}
	public void setOrganizationProductServiceRels(Set<OrganizationProductServiceRel> organizationProductServiceRels) {
		this.organizationProductServiceRels = organizationProductServiceRels;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public Business getBusiness() {
		return business;
	}
	public void setBusiness(Business business) {
		this.business = business;
	}
	public ContractTemplate getTemplate() {
		return template;
	}
	public void setTemplate(ContractTemplate template) {
		this.template = template;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getTotalPrice() {
		return totalPrice;
	}
	public void setTotalPrice(String totalPrice) {
		this.totalPrice = totalPrice;
	}
	public String getManagerName() {
		return managerName;
	}
	public void setManagerName(String managerName) {
		this.managerName = managerName;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getCountryCodePN() {
		return countryCodePN;
	}
	public void setCountryCodePN(String countryCodePN) {
		this.countryCodePN = countryCodePN;
	}
	public String getAreaCodePN() {
		return areaCodePN;
	}
	public void setAreaCodePN(String areaCodePN) {
		this.areaCodePN = areaCodePN;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public PickList getPayType() {
		return payType;
	}
	public void setPayType(PickList payType) {
		this.payType = payType;
	}
	public PickList getStatus() {
		return status;
	}
	public void setStatus(PickList status) {
		this.status = status;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getCurrency() {
		return currency;
	}
	public void setCurrency(String currency) {
		this.currency = currency;
	}
	public Integer getStatusId() {
		return statusId;
	}
	public void setStatusId(Integer statusId) {
		this.statusId = statusId;
	}
	public Timestamp getCreatedStamp() {
		return createdStamp;
	}
	public void setCreatedStamp(Timestamp createdStamp) {
		this.createdStamp = createdStamp;
	}
	public String getPersonName() {
		return personName;
	}
	public void setPersonName(String personName) {
		this.personName = personName;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public Set<ContractHistory> getContractHistory() {
		return contractHistory;
	}
	public void setContractHistory(Set<ContractHistory> contractHistory) {
		this.contractHistory = contractHistory;
	}
	public Integer getAuditStatus() {
		return auditStatus;
	}
	public void setAuditStatus(Integer auditStatus) {
		this.auditStatus = auditStatus;
	}
	public Person getCreater() {
		return creater;
	}
	public void setCreater(Person creater) {
		this.creater = creater;
	}
	public String getCountryCodeFN() {
		return countryCodeFN;
	}
	public void setCountryCodeFN(String countryCodeFN) {
		this.countryCodeFN = countryCodeFN;
	}
	public String getAreaCodeFN() {
		return areaCodeFN;
	}
	public void setAreaCodeFN(String areaCodeFN) {
		this.areaCodeFN = areaCodeFN;
	}
	public String getFaxNumber() {
		return faxNumber;
	}
	public void setFaxNumber(String faxNumber) {
		this.faxNumber = faxNumber;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getCountryCodeMN() {
		return countryCodeMN;
	}
	public void setCountryCodeMN(String countryCodeMN) {
		this.countryCodeMN = countryCodeMN;
	}
	public String getMobileNum() {
		return mobileNum;
	}
	public void setMobileNum(String mobileNum) {
		this.mobileNum = mobileNum;
	}
	
	
	public Timestamp getFinalStamp() {
		return finalStamp;
	}
	public void setFinalStamp(Timestamp finalStamp) {
		this.finalStamp = finalStamp;
	}
	public Timestamp getFirstStamp() {
		return firstStamp;
	}
	public void setFirstStamp(Timestamp firstStamp) {
		this.firstStamp = firstStamp;
	}
	public String getFilterFinalAudit() {
		return filterFinalAudit;
	}
	public void setFilterFinalAudit(String filterFinalAudit) {
		this.filterFinalAudit = filterFinalAudit;
	}
	public String getBrand() {
		return brand;
	}
	public void setBrand(String brand) {
		this.brand = brand;
	}
	public String getBrandCountry() {
		return brandCountry;
	}
	public void setBrandCountry(String brandCountry) {
		this.brandCountry = brandCountry;
	}
	public String getBusinessBG() {
		return businessBG;
	}
	public void setBusinessBG(String businessBG) {
		this.businessBG = businessBG;
	}
	public String getFilterFirstAudit() {
		return filterFirstAudit;
	}
	public void setFilterFirstAudit(String filterFirstAudit) {
		this.filterFirstAudit = filterFirstAudit;
	}
	public String getCompanyName() {
		return companyName;
	}
	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}
	public String getCompanyNameEN() {
		return companyNameEN;
	}
	public void setCompanyNameEN(String companyNameEN) {
		this.companyNameEN = companyNameEN;
	}
	public Timestamp getGenerationStamp() {
		return generationStamp;
	}
	public void setGenerationStamp(Timestamp generationStamp) {
		this.generationStamp = generationStamp;
	}
	public Timestamp getCancelStamp() {
		return cancelStamp;
	}
	public void setCancelStamp(Timestamp cancelStamp) {
		this.cancelStamp = cancelStamp;
	}

	
}
